wxapp.logic.update = {
    checkUpdate: function() {
        var t = wx.getUpdateManager();
        t.onCheckForUpdate(function(t) {}), t.onUpdateReady(function() {
            wx.showModal({
                title: "更新提示",
                content: "新版本已经准备好，请重启应用",
                showCancel: !1,
                success: function(e) {
                    t.applyUpdate();
                }
            });
        }), t.onUpdateFailed(function() {});
    }
};